<?php

class PersonalController extends Zend_Controller_Action
{

    public function init()
    {
        /* Initialize action controller here */
    }

    public function indexAction()
    {
        
    }

    public function editAction()
    {
        $form = new Application_Form_Pegawai();
        
        /*modifikasi form*/
        $form->removeElement('tanggal_masuk_ojt');
        $form->removeElement('tanggal_keluar_ojt');
        $form->removeElement('tanggal_masuk_kerja');
        $form->removeElement('tanggal_keluar_kerja');
        $form->removeElement('id_departemen');
        $form->removeElement('id_status_pegawai');
        
        $form->getElement('nik')->setAttrib('disabled',true);
        $form->getElement('tambah')->setLabel('Save');
        
        $this->view->form = $form;
    }


}





